package cn.boysoft.core.server.netty.handler;

import org.springframework.stereotype.Service;

import cn.boysoft.core.model.message.Response;
import cn.boysoft.core.model.message.xml.XMLResponse;
import cn.boysoft.core.server.netty.codec.RequestHandler;

/**
 * @author 付厚俊
 * CreateTime 2013-4-4 下午5:22:47
 */
@Service(value="xmlRequestHandler")
public class XmlRequestHandler extends RequestHandler<XMLResponse>{

	@Override
	public XMLResponse buildReponse(Response<Object> r) {
		XMLResponse response = new XMLResponse(r);
		return response;
	}
}
